﻿using System;
using System.Collections.Generic;
using NHibernate;

namespace Mammoth.Repositories
{
    public interface IDataSessionFactory
    {
        void Configure(IDatabaseConfiguration configSection, IEnumerable<Type> mappings);
        IStatelessSession GetSession();
    }
}
